import request from '@/utils/request'

// 查询GP填报-用户注册数据列表
export function listBfPortalRegisterUser(query) {
  return request({
    url: '/bfPortal/bfPortalRegisterUser/list',
    method: 'get',
    params: query
  })
}

// 查询GP填报-用户注册数据详细
export function getBfPortalRegisterUser(id) {
  return request({
    url: '/bfPortal/bfPortalRegisterUser/' + id,
    method: 'get'
  })
}

// 查询GP填报-用户注册数据详细
export function asyncRegisterData(id) {
  return request({
    url: '/bfPortal/bfPortalRegisterUser/asyncRegisterData/' + id,
    method: 'get'
  })
}
// 查询GP填报-用户注册数据详细
export function rejectPortalRegisterData(id) {
  return request({
    url: '/bfPortal/bfPortalRegisterUser/rejectPortalRegisterData/' + id,
    method: 'get'
  })
}

// 保存GP填报-用户注册数据
export function saveBfPortalRegisterUser(data) {
  return request({
    url: '/bfPortal/bfPortalRegisterUser/save',
    method: 'post',
    data: data
  })
}

// 删除GP填报-用户注册数据
export function delBfPortalRegisterUser(id) {
  return request({
    url: '/bfPortal/bfPortalRegisterUser/' + id,
    method: 'delete'
  })
}

// 导出GP填报-用户注册数据
export function exportBfPortalRegisterUser(query) {
  return request({
    url: '/bfPortal/bfPortalRegisterUser/export',
    method: 'get',
    params: query
  })
}
